package com.wei.miaosha.rabbitmq;

import com.wei.miaosha.domain.MiaoshaUser;

/**
 * Created by Weizichen on 2018/9/12.
 * desc:用户信息和商品id封装的实体类
 */
public class MiaoShaMessage {
    private MiaoshaUser user;
    private long goodsId;

    public MiaoShaMessage() {
    }

    public MiaoShaMessage(MiaoshaUser user, long goodsId) {
        this.user = user;
        this.goodsId = goodsId;
    }

    public MiaoshaUser getUser() {
        return user;
    }

    public void setUser(MiaoshaUser user) {
        this.user = user;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }
}
